Feat/488 489 490 491 performance monitoring caching health graceful shutdown#554
Merged
Devsol-01 merged 7 commits intoDevsol-01:mainfrom Mar 30, 2026
Conversation
- Implement QueryLoggerService to track queries exceeding 100ms - Log slow queries with execution metrics - Detect N+1 query patterns - Suggest missing indexes based on query patterns - Add PerformanceController with endpoints for monitoring - Provide query statistics and analysis dashboard
- Create CacheStrategyService with Redis-based distributed caching - Implement cache invalidation on data updates - Add cache hit/miss metrics tracking - Support configurable TTL per resource type - Implement cache warming for critical data - Add stale-while-revalidate pattern support - Create CacheInterceptor for automatic GET request caching - Add CacheConfig decorator for endpoint-level configuration - Provide cache metrics dashboard
- Implement health indicators for Redis, Email, Soroban RPC, and Horizon - Add GET /health/detailed endpoint with per-service status - Track response time metrics for each dependency - Support degraded state when non-critical services fail - Add HealthHistoryService for historical health data - Provide uptime statistics and performance metrics - Add GET /health/history and GET /health/stats endpoints - Integration with monitoring tools ready
- Create GracefulShutdownService to manage shutdown lifecycle - Handle SIGTERM and SIGINT signals properly - Stop accepting new requests during shutdown - Wait for in-flight requests to complete (with 25s timeout) - Close database connections gracefully - Close Redis connections cleanly - Add GracefulShutdownInterceptor to track active requests - Log shutdown process with detailed timing - Maximum shutdown timeout of 30 seconds - Handle uncaught exceptions and unhandled rejections
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@Hexstar-labs Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Performance & Reliability Enhancements
Changes
Implementation
Closes #488
Closes #489
Closes #490
Closes #491